<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">
    <div class="layui-card-body">
        <div class="layui-form-item">
            <label class="layui-form-label label-required">账户</label>
            <div class="layui-input-block">
                <input value="{$info.username}" disabled="disabled" class="layui-input" readOnly="true">
                <input type="hidden" name="id" value="{$info.id}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required">电话</label>
            <div class="layui-input-block">
                <input type="text" min="0" value="{$info.phone}" disabled="disabled" class="layui-input" readOnly="true">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required">代理</label>
            <div class="layui-input-block">
                <select name="role" id="">
                    <option value="1" <?php echo $info['role']==1 ? 'selected': ''; ?> >普通</option>
                    <option value="2" <?php echo $info['role']==2 ? 'selected': ''; ?> >总代理</option>
                    <option value="3" <?php echo $info['role']==3 ? 'selected': ''; ?> >普通代理</option>
                </select>
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label label-required">真实姓名</label>
            <div class="layui-input-block">
                <input name="nick_name" type="text" min="0" value="{$info.nick_name}" class="layui-input">
            </div>
        </div>
        
        <div class="layui-form-item">
            <label class="layui-form-label label-required">账户余额</label>
            <div class="layui-input-block">
                <input name="balance" type="text" min="0" disabled="disabled" required  value="{$info.balance}" class="layui-input">
            </div>
        </div>
        

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">Total</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="total" type="text" min="0" required  value="{$info.total}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">Financial</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="financial" type="text" min="0" required  value="{$info.financial}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">Freeze</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="freeze" type="text" min="0" required  value="{$info.freeze}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">已完成总单数</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="finish_order" type="text" min="0" required  value="{$info.finish_order}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">已完成分组单数</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="group_order" type="text" min="0" required  value="{$info.group_order}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">VIP等级</label>-->
        <!--    <div class="layui-input-inline">-->
        <!--        <select name="level" class="form-control">-->
        <!--            <option value="0" >SVIP0</option>-->
        <!--            {volist name="level_info" id="vo"}-->
        <!--            {if condition="($info.level == $vo.id)"}-->
        <!--            <option value="{$vo.id}" selected="selected" >{$vo.name}</option>-->
        <!--            {else /}-->
        <!--            <option value="{$vo.id}" >{$vo.name}</option>-->
        <!--            {/if}-->
        <!--            {/volist}-->
        <!--        </select>-->
        <!--    </div>-->
        <!--</div>-->

        <div class="layui-form-item">
            <label class="layui-form-label label-required">银行名称</label>
            <div class="layui-input-block">
                <input name="bank_name" type="text" min="0" value="{$info.bank_name}" class="layui-input">
            </div>
        </div>

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">Holder_Name</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="holder_name" type="text" min="0" value="{$info.holder_name}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <div class="layui-form-item">
            <label class="layui-form-label label-required">银行号码</label>
            <div class="layui-input-block">
                <input name="account_number" type="text" min="0" value="{$info.account_number}" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required">手机号码r</label>
            <div class="layui-input-block">
                <input name="phone_number" type="text" min="0" value="{$info.phone_number}" class="layui-input">
            </div>
        </div>

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">Email</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="email" type="text" min="0" value="{$info.email}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">IFSC</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="ifsc" type="text" min="0" value="{$info.ifsc}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">UPI</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="upi" type="text" min="0" value="{$info.upi}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->
        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">usdt类型</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <select name="type" id="">-->
        <!--            <option value="Trc20" <?php echo $info['type']=='Trc20' ? 'selected': ''; ?> >Trc20</option>-->
        <!--            <option value="Erc20" <?php echo $info['type']=='Erc20' ? 'selected': ''; ?> >Erc20</option>-->
        <!--        </select>-->
        <!--    </div>-->
        <!--</div>-->
        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">usdt地址</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="address_usdt" type="text" min="0" value="{$info.address_usdt}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">Address_Name</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="address_name" type="text" min="0" value="{$info.address_name}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">Address_Phone</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="address_phone" type="text" min="0" value="{$info.address_phone}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <!--<div class="layui-form-item">-->
        <!--    <label class="layui-form-label label-required">Address_Info</label>-->
        <!--    <div class="layui-input-block">-->
        <!--        <input name="address_info" type="text" min="0" value="{$info.address_info}" class="layui-input">-->
        <!--    </div>-->
        <!--</div>-->

        <div class="layui-form-item">
            <label class="layui-form-label">登录密码</label>
            <div class="layui-input-block">
                <input name="password" placeholder="留空不修改密码" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">支付密码</label>
            <div class="layui-input-block">
                <input name="payment" placeholder="留空不修改密码" class="layui-input">
            </div>
        </div>

    </div>
    <input name="id" type="hidden" value="{$info.id}">

    <div class="hr-line-dashed"></div>

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>提交</button>
        <button class="layui-btn layui-btn-danger" type='button' data-close>取消</button>
    </div>

    <script>window.form.render();</script>

</form>
